refactor: split update project request#486
Conversation
|
The latest Buf updates on your PR. Results from workflow Validate / validate (pull_request).
|
📝 WalkthroughWalkthroughThis pull request introduces a new Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@raystack/frontier/v1beta1/frontier.proto`:
- Around line 1851-1864: The proto breaks compatibility by changing field number
2 in UpdateProjectRequest from ProjectRequestBody to UpdateProjectRequestBody;
revert the type of field 2 back to the original ProjectRequestBody and instead
add a new field (e.g., UpdateProjectRequest.update_body) with a fresh tag number
for UpdateProjectRequestBody, leaving UpdateProjectRequestBody message intact;
update server-side handler to accept both fields (prefer the new update_body
when present) and keep validation accordingly so the migrated schema remains
backward-compatible; reference UpdateProjectRequest, UpdateProjectRequestBody,
ProjectRequestBody and the existing field tag 2 when making the change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: cbd53c13-d302-4132-8d24-477cedca8205
📒 Files selected for processing (1)
raystack/frontier/v1beta1/frontier.proto
No description provided.